github.com/refraction-networking/utls.Conn.newRecordHeaderError (method)

5 uses

	github.com/refraction-networking/utls (current package)
		conn.go#L584: func (c *Conn) newRecordHeaderError(conn net.Conn, msg string) (err RecordHeaderError) {
		conn.go#L651: 		return c.in.setErrorLocked(c.newRecordHeaderError(nil, "unsupported SSLv2 handshake received"))
		conn.go#L665: 		return c.in.setErrorLocked(c.newRecordHeaderError(nil, msg))
		conn.go#L673: 			return c.in.setErrorLocked(c.newRecordHeaderError(c.conn, "first record does not look like a TLS handshake"))
		conn.go#L679: 		return c.in.setErrorLocked(c.newRecordHeaderError(nil, msg))